<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- qscriptvalue.cpp -->
<head>
  <title>Obsolete Members for QScriptValue</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" width="32"><img src="images/qt-logo.png" align="left" width="57" height="67" border="0" /></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a></td>
</tr></table><h1 class="title">Obsolete Members for QScriptValue</h1>
<p><b>The following class members are obsolete.</b> They are provided to keep old source code working. We strongly advise against using them in new code.</p>
<p><ul><li><a href="qscriptvalue.html">QScriptValue class reference</a></li></ul></p>
<h2>Public Functions</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qscriptvalue-obsolete.html#QScriptValue-3">QScriptValue</a></b> ( QScriptEngine * <i>engine</i>, SpecialValue <i>value</i> )&nbsp;&nbsp;<tt> (obsolete)</tt></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qscriptvalue-obsolete.html#QScriptValue-4">QScriptValue</a></b> ( QScriptEngine * <i>engine</i>, bool <i>value</i> )&nbsp;&nbsp;<tt> (obsolete)</tt></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qscriptvalue-obsolete.html#QScriptValue-5">QScriptValue</a></b> ( QScriptEngine * <i>engine</i>, int <i>value</i> )&nbsp;&nbsp;<tt> (obsolete)</tt></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qscriptvalue-obsolete.html#QScriptValue-6">QScriptValue</a></b> ( QScriptEngine * <i>engine</i>, uint <i>value</i> )&nbsp;&nbsp;<tt> (obsolete)</tt></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qscriptvalue-obsolete.html#QScriptValue-7">QScriptValue</a></b> ( QScriptEngine * <i>engine</i>, qsreal <i>value</i> )&nbsp;&nbsp;<tt> (obsolete)</tt></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qscriptvalue-obsolete.html#QScriptValue-8">QScriptValue</a></b> ( QScriptEngine * <i>engine</i>, const QString &amp; <i>value</i> )&nbsp;&nbsp;<tt> (obsolete)</tt></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qscriptvalue-obsolete.html#QScriptValue-9">QScriptValue</a></b> ( QScriptEngine * <i>engine</i>, const char * <i>value</i> )&nbsp;&nbsp;<tt> (obsolete)</tt></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qscriptvalue-obsolete.html#isBoolean">isBoolean</a></b> () const&nbsp;&nbsp;<tt> (obsolete)</tt></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qscriptvalue-obsolete.html#toBoolean">toBoolean</a></b> () const&nbsp;&nbsp;<tt> (obsolete)</tt></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QScriptValue </td><td class="memItemRight" valign="bottom"><b><a href="qscriptvalue-obsolete.html#toObject">toObject</a></b> () const&nbsp;&nbsp;<tt> (obsolete)</tt></td></tr>
</table>
<hr />
<h2>Member Function Documentation</h2>
<h3 class="fn"><a name="QScriptValue-3"></a>QScriptValue::QScriptValue ( <a href="qscriptengine.html">QScriptEngine</a> * <i>engine</i>, <a href="qscriptvalue.html#SpecialValue-enum">SpecialValue</a> <i>value</i> )</h3>
<p>Constructs a new <a href="qscriptvalue.html">QScriptValue</a> with the special <i>value</i> and registers it with the script <i>engine</i>.</p>
<h3 class="fn"><a name="QScriptValue-4"></a>QScriptValue::QScriptValue ( <a href="qscriptengine.html">QScriptEngine</a> * <i>engine</i>, bool <i>value</i> )</h3>
<p>Constructs a new <a href="qscriptvalue.html">QScriptValue</a> with the boolean <i>value</i> and registers it with the script <i>engine</i>.</p>
<h3 class="fn"><a name="QScriptValue-5"></a>QScriptValue::QScriptValue ( <a href="qscriptengine.html">QScriptEngine</a> * <i>engine</i>, int <i>value</i> )</h3>
<p>Constructs a new <a href="qscriptvalue.html">QScriptValue</a> with the integer <i>value</i> and registers it with the script <i>engine</i>.</p>
<h3 class="fn"><a name="QScriptValue-6"></a>QScriptValue::QScriptValue ( <a href="qscriptengine.html">QScriptEngine</a> * <i>engine</i>, <a href="http://qt.nokia.com/doc/4.6/qtglobal.html#uint-typedef">uint</a> <i>value</i> )</h3>
<p>Constructs a new <a href="qscriptvalue.html">QScriptValue</a> with the unsigned integer <i>value</i> and registers it with the script <i>engine</i>.</p>
<h3 class="fn"><a name="QScriptValue-7"></a>QScriptValue::QScriptValue ( <a href="qscriptengine.html">QScriptEngine</a> * <i>engine</i>, qsreal <i>value</i> )</h3>
<p>Constructs a new <a href="qscriptvalue.html">QScriptValue</a> with the qsreal <i>value</i> and registers it with the script <i>engine</i>.</p>
<h3 class="fn"><a name="QScriptValue-8"></a>QScriptValue::QScriptValue ( <a href="qscriptengine.html">QScriptEngine</a> * <i>engine</i>, const <a href="http://qt.nokia.com/doc/4.6/qstring.html">QString</a> &amp; <i>value</i> )</h3>
<p>Constructs a new <a href="qscriptvalue.html">QScriptValue</a> with the string <i>value</i> and registers it with the script <i>engine</i>.</p>
<h3 class="fn"><a name="QScriptValue-9"></a>QScriptValue::QScriptValue ( <a href="qscriptengine.html">QScriptEngine</a> * <i>engine</i>, const char * <i>value</i> )</h3>
<p>Constructs a new <a href="qscriptvalue.html">QScriptValue</a> with the string <i>value</i> and registers it with the script <i>engine</i>.</p>
<h3 class="fn"><a name="isBoolean"></a>bool QScriptValue::isBoolean () const</h3>
<p>Use <a href="qscriptvalue.html#isBool">isBool</a>() instead.</p>
<h3 class="fn"><a name="toBoolean"></a>bool QScriptValue::toBoolean () const</h3>
<p>Use <a href="qscriptvalue.html#toBool">toBool</a>() instead.</p>
<h3 class="fn"><a name="toObject"></a>QScriptValue QScriptValue::toObject () const</h3>
<p>This function is obsolete; use <a href="qscriptengine.html#toObject">QScriptEngine::toObject</a>() instead.</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="30%" align="left">Copyright &copy; 2010 Nokia Corporation and/or its subsidiary(-ies)</td>
<td width="40%" align="center"><a href="http://qt.nokia.com/doc/trademarks.html">Trademarks</a></td>
<td width="30%" align="right"><div align="right">Qt Solutions</div></td>
</tr></table></div></address></body>
</html>
